#include<stdio.h>
#define ONE (1<<0)
#define TWO (1<<1)
#define THREE (1<<2)
#define FOUR (1<<3)
#define FIVE (1<<4)


//code 1
void PrintTest(int flags)
{
    if(flags & ONE)
    {
        printf("one\n");
    }
    if(flags & TWO)
    {
        printf("two\n");
    }
    if(flags & THREE)
    {
        printf("three\n");
    }
    if(flags & FOUR)
    {
        printf("four\n");
    }
    if(flags & FIVE)
    {
        printf("five\n");
    }
}

int main()
{
    printf("===========================\n");
    PrintTest(ONE);
    printf("===========================\n");
    PrintTest(TWO);
    printf("===========================\n");
    PrintTest(THREE);
    printf("===========================\n");
    PrintTest(ONE | THREE);
    printf("===========================\n");
    PrintTest(ONE | TWO | THREE);
    printf("===========================\n");
    PrintTest(ONE | TWO | THREE | FOUR);
    printf("===========================\n");
    return 0;
}

	

